package com.bowen.demo.oom;

/**
 * <h3>java-study</h3>
 * <p>栈内存溢出</p>
 * @author : zhang.bw
 * @date : 2021-03-25 11:15
 **/
public class StackOomError {

	int num = 1;
	public void testStack(){
		num ++;
		this.testStack();
	}

	public static void main(String[] args) {
		StackOomError stackOomError = new StackOomError();
		stackOomError.testStack();
	}
}
